<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>写文章</title>
    <link rel="stylesheet" href="../assets/vendors/bootstrap/css/bootstrap.css">
    <link rel="stylesheet" href="../assets/vendors/font-awesome/css/font-awesome.css">
    <link rel="stylesheet" href="../assets/css/admin.css">
</head>

<body>
    @@include('../common/admin/loginStatus.html')
    <div class="main">
        @@include('../common/admin/navbar.html')
        <div class="container-fluid">
            <div class="page-title">
                <h1>写文章</h1>
            </div>
            <form class="row">
                <div class="col-md-9">
                    <div class="form-group">
                        <label for="title">标题</label>
                        <input type="text" id="title" name="title" class="form-control input-lg" placeholder="文章标题">
                    </div>
                    <div class="form-group">
                        <label for="content">内容</label>
                        <textarea name="content" id="content" cols="30" rows="10" class="form-control input-lg" placeholder="内容"></textarea>
                    </div>
                </div>
                <div class="col-md-3">
                    <div class="form-group">
                        <label for="feature">文章封面</label>
                        <img src="" alt="" class="help-block thumbnail" style="display: none">
                        <input type="file" name="thumbnail" id="feature" class="form-control">
                    </div>
                    <div class="form-group">
                        <label for="category">所属分类</label>
                        @@include('../common/admin/post-add.html')
                    </div>
                    <div class="form-group">
                        <label for="created">发布时间</label>
                        <input type="datetime-local" name="createAt" id="created" class="form-control">
                    </div>
                    <div class="form-group">
                        <label for="status">状态</label>
                        <select name="" id="status" class="form-control">
                            <option value="0">草稿</option>
                            <option value="1">已发布</option>
                        </select>
                    </div>
                    <div class="form-group">
                        <button class="btn btn-primary post-add-btn" type="submit">保存</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
    @@include('../common/admin/aside.html')
</body>
<script src="../js/admin/post-add.js"></script>
<script>

</script>
</html>